home *** CD-ROM | disk | FTP | other *** search
/ Gigarom 1 / Gigarom Macintosh Archives (Quantum Leap)(CDRM1080320)(1993).iso / FILES / BBS / MUBBS / MUBBS112.CPT / MUBBS112 / MUBBS Mod Shells 4_92.cpt / Shells / Module std routines / MUBBS jump.c < prev    next >
Text File  |  1992-02-13  |  4KB  |  122 lines

  1. /*
  2.  *  MUBBS jump.c
  3.  *
  4.  *    This program source code and it's compiled version is
  5.  *  Copyright (c) 1991 N. Hawthorn.
  6.  *  This program source code and it's compiled version IS NOT IN THE
  7.  *  PUBLIC DOMAIN ! Please read the "COPYRIGHT NOTICE / NH" file for details
  8.  *  regarding use of this program source code and it's compiled version.
  9.  *
  10.  *
  11.  * Code to call back to MUBBS !
  12.  *
  13.  */
  14.  
  15. #define INMUBBSJUMP 
  16.  
  17. #include "MUBBS Module.h"
  18.  
  19. /* we have to generate our own prototypes for this file ONLY */
  20.  
  21. int send(void);
  22. int print(void);
  23. int sendtext(void);
  24. int wait(void);
  25. int cmd1(void);
  26. int cmd1noecho(void);
  27. int sendnc(void);
  28. int showline(void);
  29. int clock(void);
  30. int portsin(void);
  31. int passportsin(void);
  32. int module(void);
  33. int gettime(void);
  34. int switchuser(void);
  35. int fopen(void);
  36. int fclose(void);
  37. int fread(void);
  38. int fwrite(void);
  39. int ftell(void);
  40. int fsetpos(void);
  41. int fgetpos(void);
  42. int fseek(void);
  43. int freopen(void);
  44. int fputs(void);
  45. int fputc(void);
  46. int fgetc(void);
  47. int fgets(void);
  48. int fflush(void);
  49. int fprintf(void);
  50. int fscanf(void);
  51. int clearerr(void);
  52. int scanf(void);
  53. int sscanf(void);
  54. int sprintf(void);
  55. int rewind(void);
  56. int rename(void);
  57. int remove(void);
  58. int ungetc(void);
  59. int puts(void);
  60. int perror(void);
  61. int otheruser(void);
  62. int mackey(void);
  63. int loguser(void);
  64. int printout(void);
  65. int versionck(void);
  66. int searchs(void);
  67.  
  68.  
  69. /* these are all the routines that you can call, some of them are to */
  70. /* be used carefully. See the accompanying documentation before use ! */
  71. /* Don't worry about the "godoit" stuff here, just see the examples   */
  72.  
  73.  
  74. send()        { ProcPtr hh; G->S=0; godoit; }
  75. print()        { ProcPtr hh; G->S=1; godoit; }
  76. sendtext()    { ProcPtr hh; G->S=2; godoit; }
  77. wait()        { ProcPtr hh; G->S=3; godoit; }
  78. cmd1()        { ProcPtr hh; G->S=4; godoit; }
  79. cmd1noecho(){ ProcPtr hh; G->S=5; godoit; }
  80. sendnc()    { ProcPtr hh; G->S=6; godoit; }
  81. showline()    { ProcPtr hh; G->S=7; godoit; }
  82. clock()        { ProcPtr hh; G->S=8; godoit; }
  83. portsin()    { ProcPtr hh; G->S=9; godoit; }
  84. passportsin(){ ProcPtr hh; G->S=10; godoit; }
  85. module()    { ProcPtr hh; G->S=11; godoit; }
  86. gettime()    { ProcPtr hh; G->S=12; godoit; }
  87. switchuser(){ ProcPtr hh; G->S=13; godoit; }
  88.  
  89. fopen()        { ProcPtr hh; G->S=14; godoit; }
  90. fclose()    { ProcPtr hh; G->S=15; godoit; }
  91. fread()        { ProcPtr hh; G->S=16; godoit; }
  92. fwrite()    { ProcPtr hh; G->S=17; godoit; }
  93. ftell()        { ProcPtr hh; G->S=18; godoit; }
  94. fsetpos()    { ProcPtr hh; G->S=19; godoit; }
  95. fgetpos()    { ProcPtr hh; G->S=20; godoit; }
  96. fseek()        { ProcPtr hh; G->S=21; godoit; }
  97. freopen()    { ProcPtr hh; G->S=22; godoit; }
  98. fputs()        { ProcPtr hh; G->S=23; godoit; }
  99. fputc()        { ProcPtr hh; G->S=24; godoit; }
  100. fgetc()        { ProcPtr hh; G->S=25; godoit; }
  101. fgets()        { ProcPtr hh; G->S=26; godoit; }
  102. fflush()    { ProcPtr hh; G->S=27; godoit; }
  103. fprintf()    { ProcPtr hh; G->S=28; godoit; }
  104. fscanf()    { ProcPtr hh; G->S=29; godoit; }
  105. clearerr()    { ProcPtr hh; G->S=30; godoit; }
  106. scanf()        { ProcPtr hh; G->S=31; godoit; }
  107. sscanf()    { ProcPtr hh; G->S=32; godoit; }
  108. sprintf()    { ProcPtr hh; G->S=33; godoit; }
  109. rewind()    { ProcPtr hh; G->S=34; godoit; }
  110. rename()    { ProcPtr hh; G->S=35; godoit; }
  111. remove()    { ProcPtr hh; G->S=36; godoit; }
  112. ungetc()    { ProcPtr hh; G->S=37; godoit; }
  113. puts()        { ProcPtr hh; G->S=38; godoit; }
  114. perror()    { ProcPtr hh; G->S=39; godoit; }
  115. otheruser()    { ProcPtr hh; G->S=40; godoit; }
  116. mackey()    { ProcPtr hh; G->S=41; godoit; }
  117. loguser()    { ProcPtr hh; G->S=42; godoit; }
  118. printout()    { ProcPtr hh; G->S=43; godoit; }
  119. versionck()    { ProcPtr hh; G->S=44; godoit; }
  120. searchs()    { ProcPtr hh; G->S=45; godoit; }
  121.  
  122.